/****************************************************************
 * <strong>MFConst</strong>
 *
 * <p>
 * MFConst
 * </p>
 *
 * @author AndyZhang 2011 cnet2001@163.com
 * @version 0.1
 * ToDo:
 ***************************************************************/

package com.thinkwide.data.common;

import com.thinkwide.data.core.MFString;

public class MFConst {
    public static final String True = "T";
    public static final String False = "F";

    public static boolean isStringTrue(String value) {
        if (MFString.compareNoCase(value, True))
            return true;
        else
            return false;
    }

    public static boolean isStringFalse(String value) {
        if (MFString.compareNoCase(value, False))
            return true;
        else
            return false;
    }
}
